import mockData from './data'
export const simple = {
  columns: [
    { title: '分公司名称', width: 130, dataIndex: 'companyName', ellipsis: true },
    { title: '申请人', width: 130, dataIndex: 'reqUserName', ellipsis: true },
    { title: '金额', width: 180, dataIndex: 'allMoney', ellipsis: true, customRender: (text) => '￥' + (Number(text) / 100).toFixed(2) },
    { title: '打款状态', width: 160, dataIndex: 'payStatus', ellipsis: true, scopedSlots: { customRender: 'payStatus' } },
    { title: '状态', width: 160, dataIndex: 'status', ellipsis: true, scopedSlots: { customRender: 'status' } },
    { title: '业务经办人', width: 140, dataIndex: 'producerName', ellipsis: true },
    { title: '职位', width: 130, dataIndex: 'producerPosition', ellipsis: true },
    { title: '开户行', width: 200, dataIndex: 'bankName', ellipsis: true },
    { title: '开户名', width: 140, dataIndex: 'encTrueName', ellipsis: true },
    { title: '账号', width: 140, dataIndex: 'account', ellipsis: true },
    {
      title: '操作',
      key: 'action',
      fixed: 'right',
      width: 200,
      scopedSlots: { customRender: 'action' }
    }
  ],
  data: mockData
}
